package com.itheima.test;

public class Zi extends Fu {
    int i = 20;

    public void method() {

        int i = 10;
        System.out.println(i);//局部
        System.out.println(this.i);//成员
        System.out.println(super.i);//父类
    }


    public void diaoYong() {
        this.sing();
        super.sing();
    }
  //  @Override//注解
    public int show(int i) {
        return 0;
    }

    @Override
    public void show(){
//        super.show();
        System.out.println("子类的show 方法");
    }
}
